class CreateTimespans < ActiveRecord::Migration
  def self.up
    create_table :timespans do |t|
      t.datetime :after_date
      t.datetime :before_date
      t.integer :after_offset
      t.integer :before_offset
      t.boolean :is_common

      t.timestamps
    end
  end

  def self.down
    drop_table :timespans
  end
end
